package org.example.springmvc_demo;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class RequestController {
    @RequestMapping("/r1")
    public String hello(String name){
        return "返回name:" +name;
    }
}
